pidfilepath = {{mongodb_workspace}}/{{inventory_hostname}}/mongodb.pid
logpath = {{mongodb_workspace}}/{{inventory_hostname}}/mongodb.log
logappend=true
fork = true
port = {{ mongodb_port }}
{% set hosts = [] %}
{% for host in groups["configsvr"] %}
	{{hosts.append(hostvars[host].bind_ip + ":" ~ hostvars[host].mongodb_port)}}
{% endfor %}
configdb = configsvr/{{hosts|join(",")}}
bind_ip={{bind_ip}}